const state = {
  gg:'gg'
}
const actions = {
  setGG({commit,rootState},data){
    console.log(rootState)
    commit('setGG',data)
  }
}
const getters = {
  getGG(state){
    return state.gg
  }
}
const mutations = {
  setGG(state,data){
    state.gg =data
  }
}
export default{
  state,
  actions,
  getters,
  mutations
}